package com.cd.university.db.mapper.dictionary;

import com.cd.university.db.pojo.dictionary.Department;
import com.cd.university.service.DictionaryProcessorHolder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper extends DictionaryProcessorHolder {
    int deleteByPrimaryKey(Integer departmentId);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer departmentId);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    public List<Department> searchAll();
}
